package com.TTBook.core.system.dao;

import java.util.List;

import com.TTBook.core.system.model.SysParams;
import com.TTBook.core.system.model.SysParamsCriteria;

public interface SysParamsDAO {
	int countByCriteria(SysParamsCriteria criteria);

	int deleteByCriteria(SysParamsCriteria criteria);

	int deleteByPrimaryKey(String innerName);

	void insert(SysParams record);

	void insertSelective(SysParams record);

	List selectByCriteria(SysParamsCriteria criteria);

	SysParams selectByPrimaryKey(String innerName);

	int updateByCriteriaSelective(SysParams record, SysParamsCriteria criteria);

	int updateByCriteria(SysParams record, SysParamsCriteria example);

	int updateByPrimaryKeySelective(SysParams record);

	int updateByPrimaryKey(SysParams record);
	/**
	 * 根据上层传过来的参数进行查询
	 * <b>Method Function Description:</b><br>
	 * @param sysParams
	 * @return
	 */
	int countByParams(SysParams sysParams);
	/**
	 * 根据上层传过来的参数进行查询
	 * <b>Method Function Description:</b><br>
	 * @param sysParams
	 * @return
	 */
	List<SysParams> selectByParams(SysParams sysParams);  
	
	
}